package edu.uta.cfl.data;

import java.util.ArrayList;

public class Parameter {
	private String name;
	private ArrayList<String> values;
	private int paramType;

	public static final int PARAM_TYPE_INT = 0;

	/** Indicates an enum parameter */
	public static final int PARAM_TYPE_ENUM = 1;

	/** indicates a boolean parameter */
	public static final int PARAM_TYPE_BOOL = 2;

	public Parameter(String name, ArrayList<String> values) {
		this.setName(name);
		this.setValues(values);
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setValues(ArrayList<String> values) {
		this.values = values;
	}

	public ArrayList<String> getValues() {
		return values;
	}

	public int getDomainSize() {
		return this.values.size();
	}

	public void setParamType(int paramType) {
		this.paramType = paramType;
	}

	public int getParamType() {
		return paramType;
	}
}
